<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>水平方向表单布局-BootStrap常用表单布局</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <!-- bootstrapv4.13 & layui -->
    <link href="/user/plug-in/bootstrapv4.1.3/css/bootstrap.css" rel="stylesheet">
    <link href="/user/plug-in/layuiv2.3.0/css/layui.css" rel="stylesheet">
    
    <script src="/user/plug-in/jquery/jquery.min.js"></script>
    <script src="/user/plug-in/layuiv2.3.0/layui.js"></script>
    
    <script src="/user/plug-in/bootstrapv4.1.3/js/bootstrap.js"></script>
    
    <script src="/user/plug-in/jquery-cookie/jquery-cookie.js"></script>

</head>
<body>
    <div class="container">
	    <div class="modal-body">
			<form class="layui-form" action="">
			  <div class="layui-form-item">
			    <label class="layui-form-label">上级</label>
			    <div class="layui-input-block">
			      <input type="hidden" id="parentId" name="parentId" readonly="readonly" th:value="${depart.id}" autocomplete="off" class="layui-input">
			      <input type="text" id="prentdepart" readonly="readonly" onclick="showprentdepart()" th:value="${depart.departName}" autocomplete="off" class="layui-input">
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <label class="layui-form-label">名称</label>
			    <div class="layui-input-block">
			      <input type="text" name="departName" id="departName" lay-verify="required" placeholder="请输入部门名称" autocomplete="off" class="layui-input">
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <label class="layui-form-label">排序</label>
			    <div class="layui-input-block">
			      <input type="text" name="orderNum" lay-verify="number" placeholder="请输入排序" autocomplete="off" class="layui-input">
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <label class="layui-form-label">状态</label>
			    <div class="layui-input-block">
			      <select name="delFlag" lay-verify="required">
			        <option value=""></option>
			        <option value="-1">失效</option>
			        <option value="0">正常</option>
			      </select>
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <div class="layui-input-block">
			      <button class="layui-btn" lay-submit lay-filter="formDemos">立即提交</button>
			      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
			    </div>
			  </div>
			</form>
		</div>
	</div>
</body>
<script src="/user/js/applicationjs/depart/adddepart.js"></script>
</html>